const express = require('express');
const app = express();

const port = '3000';

module.exports = app;

require('./config/router')(app);


function listen() {
  app.listen(port);
  console.log('Express app started on port ' + port);
}

listen();
